/*
 **************************************************************************************
 * Copyright (C) 2005-2011 UC Mobile Limited. All Rights Reserved
 * File			: AutomatedFunProtocol.h
 *
 * Description	: 常用自动化主要功能接口定义
 *
 * Author		: daijb@ucweb.com
 * History		:
 *			   Creation, 2014/03/18, daijb, Create the file
 ***************************************************************************************
 **/

#import "VerDefine.h"

#if defined(UC_COMMON_AUTOMATED_TEST) || defined(UC_MONKEY_TEST)
#import <Foundation/Foundation.h>

@protocol AutomatedFunProtocol <NSObject>

@optional

/// 菜单
- (void)dayAndNightSwitch;                   //日夜间切换
- (void)fullScreenSwitch;                    //进入全屏/退出全屏
- (void)noPictureMode;                       //无图模式开关
- (void)speedModeSwitch;                     //极速模式
- (void)exitBrowser;                         //退出浏览器

/// 设置
- (void)clearWebPageCache;                   //清除网页缓存
- (void)adBlockSetting;                      //广告过滤开关
- (void)cloudSpeedUp;                        //云加速开关
- (void)viewModeFillScreen;                  //精简排版开关
- (void)reloadWebPage;                       //网页预加载开关
- (void)clearAllData;                        //清除所有数据
- (void)clearLocalDownloadTask;              //清除本地下载任务
- (void)restoreDefaultSetting;               //恢复默认设置

- (void)switchUA;

extern id<AutomatedFunProtocol> sharedAutomatedFuncInstance();
#define g_automatedFuncInstance sharedAutomatedFuncInstance()
@end
#endif
